//
//  BaseView.m
//  HuaiWu
//
//  Created by HuaiWu  on 2022.
//  Copyright © 2022 HuaiWu . All rights reserved.
//

#import "BaseView.h"

@implementation BaseView

//根据nib加载view
+ (id)instanceView {
    NSArray* nibView =  [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:self options:nil];
    return [nibView objectAtIndex:0];
}

//设置view所需的数据源
- (void)setData:(id)data {
    
}
    
//按钮点击事件通用方法
- (void)buttonAction:(UIButton *)sender {

}

@end
